/*
 * @(#)MtmWfProgressWfProgress.java
 *
 * Copyright (c) 2003 DCIVision Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of DCIVision
 * Ltd ("Confidential Information").  You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms of the license
 * agreement you entered into with DCIVision Ltd.
 */
package com.dcivision.workflow.bean;

import com.dcivision.framework.bean.AbstractBaseObject;

/**
 *  MtmWfProgressWfProgress.java
 *
 *  This class is the serializable bean reflecting business logic uses.
 *  It represents a parent-child workflow progress relationship, with a child create
 *  type properties to describe how the child progress is generated. For examples, 
 *  by normal proceed, by rollback, by loopback, by route to, etc. 
 *
 *    @author           Dick Xie
 *    @company          DCIVision Limited
 *    @creation date    17/12/2004
 *    @version          $Revision: 1.4 $
 */

public class MtmWfProgressWfProgress extends AbstractBaseObject {
  
  public static final String REVISION = "$Revision: 1.4 $";
  public static final String CHILD_CREATE_TYPE_INTERRUPT = "I";
  static final long serialVersionUID = -6103651217831777747L;
  
  private Integer parentProgressID = null;
  private Integer childProgressID = null;
  private String childCreateType = null;
  
  /**
   * Constructs a new instance of the object
   */
  public MtmWfProgressWfProgress() {
    super();
  }
  /**
   * Gets the parent workflow progress ID
   * @return The parent workflow progress ID
   */
  public Integer getParentProgressID() { 
    return(this.parentProgressID);
  }
  /**
   * Sets the parent workflow progress ID
   * @param parentProgressID The workflow progress ID
   */
  public void setParentProgressID(Integer parentProgressID) { 
    this.parentProgressID = parentProgressID;
  }
  /**
   * Gets the child workflow progress ID
   * @return The child workflow progress ID
   */
  public Integer getChildProgressID() { 
    return(this.childProgressID);
  }
  /**
   * Sets the child workflow progress ID
   * @param childProgressID The child workflow progress ID
   */
  public void setChildProgressID(Integer childProgressID) { 
    this.childProgressID = childProgressID;
  }
  /**
   * Gets the child creation type
   * @return The child create type
   */
  public String getChildCreateType() { 
    return(this.childCreateType);
  }
  /**
   * Sets the child creation type
   * @param childCreateType The child creation type
   */
  public void setChildCreateType(String childCreateType) { 
    this.childCreateType = childCreateType;
  }
}
